//
//  TLShareCenter.h
//  FunnyVideo
//
//  Created by 李鑫 on 16/1/3.
//  Copyright © 2016年 NewEggTech. All rights reserved.
//

@class SSDKUser;

#import <Foundation/Foundation.h>
#import <ShareSDK/SSDKTypeDefine.h>

typedef void(^TLSSOLoginCallBack)(SSDKResponseState state, SSDKUser *user, NSError *error);
typedef void(^TLWXMomentShareCallBack)(BOOL succ,NSDictionary *callBack,NSError *err);

@interface TLShareCenter : NSObject

+ (TLShareCenter *)center;
+ (BOOL)isWxAuthed;
- (void)weixinLogin:(TLSSOLoginCallBack)callBack;
- (void)shareWXMoment:(NSString *)url image:(UIImage *)image text:(NSString *)text callBack:(TLWXMomentShareCallBack)callBack;
- (void)shareWXMoment:(NSString *)url image:(UIImage *)image text:(NSString *)text callBack:(TLWXMomentShareCallBack)callBack;
@property (nonatomic,assign) BOOL wxAuthed;
@end
